package com.order.api.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(description = "分页通用请求对象")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageRequest {

    @ApiModelProperty(value = "页码", required = true, example = "1")
    private int pageNum = 1;

    @ApiModelProperty(value = "每页条数", required = true, example = "10")
    private int pageSize = 10;

}
